package com.site.wisdom_construction.service.statisticsModule;

import com.site.wisdom_construction.dao.statisticsModule.StatisticsDelayRecordDao;
import com.site.wisdom_construction.statisticsResult.DelayRecordByTypeName;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/9
 * @Description
 */
@Service
public class StatisticsDelayRecordService implements StatisticsDelayRecordDao {
    @Autowired
    private StatisticsDelayRecordDao statisticsDelayRecordDao;

    @Override
    public List<DelayRecordByTypeName> countDelayRecordByDelayName(Map map) {
        return statisticsDelayRecordDao.countDelayRecordByDelayName(map);
    }
}
